<template>
  <div class="app-wrapper" >
    <el-menu
      :default-active="this.$route.path" router
      class="el-menu-vertical-demo"
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b">
      <el-menu-item index="/two/wordToAudio">
        <template slot="title">
          <i class="el-icon-location"></i>
          <span>标题1</span>
        </template>
      </el-menu-item>
      <el-menu-item index="/two/AudioToWord">
          <i class="el-icon-menu"></i>
          <span slot="title">标题2</span>
      </el-menu-item>
      <el-menu-item index="/two/wordToAudioV2">
        <i class="el-icon-document"></i>
        <span slot="title">标题3</span>
      </el-menu-item>
    </el-menu>
    <div class="main-container">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
 .app-wrapper {
    display: flex;
    height: 100%;
    width: 100%;

    
  }
</style>